package top.lishuoboy.hibernate.validator.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import springfox.bean.validators.configuration.BeanValidatorPluginsConfiguration;

/**
 * <p>
 * 2024/10/25
 *
 * @author lishuoboy
 */
@Configuration
@Import(BeanValidatorPluginsConfiguration.class)  // swagger开启JSR303规范。对于knife4j-openapi2-SB-starter 需要 @Import开启JSR303规范，对于knife4j-openapi3-spring-boot-starter不需要@Import
public class SwaggerConfig {

}
